package com.guoning.office_system.model;

import java.util.Date;

public class WorkOrder {
    private Long id;

    private Long userId;

    private Long departmentId;

    private String departmentCode;

    private String departmentName;

    private Date startTime;

    private Date endTime;

    private String orderCode;

    private String orderTitle;

    private String creator;

    private Date createTime;

    private String modifier;

    private Date modifiedTime;

    private Integer enableStatus;

    private Date ts;

    private Integer dr;

    private String orderContent;

    public WorkOrder(Long id, Long userId, Long departmentId, String departmentCode, String departmentName, Date startTime, Date endTime, String orderCode, String orderTitle, String creator, Date createTime, String modifier, Date modifiedTime, Integer enableStatus, Date ts, Integer dr, String orderContent) {
        this.id = id;
        this.userId = userId;
        this.departmentId = departmentId;
        this.departmentCode = departmentCode;
        this.departmentName = departmentName;
        this.startTime = startTime;
        this.endTime = endTime;
        this.orderCode = orderCode;
        this.orderTitle = orderTitle;
        this.creator = creator;
        this.createTime = createTime;
        this.modifier = modifier;
        this.modifiedTime = modifiedTime;
        this.enableStatus = enableStatus;
        this.ts = ts;
        this.dr = dr;
        this.orderContent = orderContent;
    }

    public WorkOrder() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getOrderTitle() {
        return orderTitle;
    }

    public void setOrderTitle(String orderTitle) {
        this.orderTitle = orderTitle;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Integer getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(Integer enableStatus) {
        this.enableStatus = enableStatus;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getOrderContent() {
        return orderContent;
    }

    public void setOrderContent(String orderContent) {
        this.orderContent = orderContent;
    }
}